package demo2;

/**
 * Created with IntelliJ IDEA.
 * Description:
 * User: 86183
 */
public class Robot implements IRunning{
    public String name;
    public String color;

    public Robot(String name, String color) {
        this.name = name;
        this.color = color;
    }

    @Override
    public void running() {
        System.out.println(this.name +"正在跑");
    }
}
